$OpenBSD: patch-Makefile,v 1.29 2014/11/14 06:18:42 brad Exp $
--- Makefile.orig	Mon Nov  3 01:28:57 2014
+++ Makefile	Mon Nov  3 01:34:51 2014
@@ -35,6 +35,7 @@ OS_FEATURE-$(VSSCANF)                += osdep/vsscanf.
 # conditional source declarations
 SRCS_AUDIO_INPUT-$(ALSA)             += stream/ai_alsa.c
 SRCS_AUDIO_INPUT-$(OSS)              += stream/ai_oss.c
+SRCS_AUDIO_INPUT-$(SNDIO)            += stream/ai_sndio.c
 SRCS_COMMON-$(AUDIO_INPUT)           += $(SRCS_AUDIO_INPUT-yes)
 SRCS_COMMON-$(BITMAP_FONT)           += sub/font_load.c
 SRCS_COMMON-$(CDDA)                  += stream/stream_cdda.c            \
@@ -615,7 +616,8 @@ SRCS_MPLAYER = command.c                \
                libvo/vo_mpegpes.c       \
                libvo/vo_null.c          \
                sub/spuenc.c             \
-               $(SRCS_MPLAYER-yes)
+               $(SRCS_MPLAYER-yes)      \
+               libao2/ao_rtunes.c
 
 #MEncoder
 SRCS_MENCODER-$(FAAC)             += libmpcodecs/ae_faac.c
